package com.yanyan.sannuomin.service.impl;
import com.yanyan.sannuomin.domain.SccDrugstore;
import com.yanyan.sannuomin.pharvo.Phar1;
import com.yanyan.sannuomin.pharvo.Phar2;
import com.yanyan.sannuomin.service.PharService;
import com.yanyan.sannuomin.usermapper.PharMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PharServiceImpl implements PharService {
@Resource
private PharMapper pharMapper;
    @Override
    public List<Phar1> findPhar1(Phar1 phar1) {
        return pharMapper.findPhar1(phar1);
    }

    @Override
    public List<Phar2> findPhar2(Phar2 phar2) {
        return pharMapper.findPhar2(phar2);
    }

    /**
     * 查询省三级联动
     *
     * @param sccDrugstore
     * @return
     */
    @Override
    public List<SccDrugstore> SsjSelect(SccDrugstore sccDrugstore) {
        return pharMapper.SsjSelect(sccDrugstore);
    }
}
